//
//  InspectionDoneTaskVC.m
//  Estate
//
//  Created by wangdongdong on 16/9/6.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "InspectionDoneTaskVC.h"
#import "DoneInspectItemViewController.h"
#import "falseViewController.h"

@interface InspectionDoneTaskVC ()



@end

@implementation InspectionDoneTaskVC

- (void)viewDidLoad {
    // 待办巡检项
    falseViewController *testVC1 = [[falseViewController alloc]init];
    // 已完成巡检项
    DoneInspectItemViewController *doneItemVC = [[DoneInspectItemViewController alloc] init];
    doneItemVC.IPID = self.IPID;
    
    // 选择器数组
    self.headerSegmentArr = [[NSArray alloc]initWithObjects:@"待办巡检项", @"已完成巡检项",nil];
    // 控制器数组
    self.VCArr = [[NSArray alloc] initWithObjects:testVC1, doneItemVC, nil];
    
    [super viewDidLoad];
    self.title = @"巡检";
    // 默认选中
    self.headerSegment.selectedSegmentIndex = 1;
    [self segmentSelect:self.headerSegment];
}

@end



